package com.globallogic.vacationplanner.transfer.service;

import java.io.Serializable;

import com.globallogic.vacationplanner.transfer.dto.impl.UserDto;
import com.globallogic.vacationplanner.transfer.exception.DaoException;

public interface IUserService extends Serializable {
	
	/**
	 * Register user
	 * 
	 * @param userDto
	 * @return 
	 * @throws DaoException
	 */
	boolean register(UserDto userDto) throws DaoException;

	/**
	 * Authorize user 
	 * 
	 * @param userDto
	 * @return 
	 * @throws DaoException
	 */
	boolean authorize(UserDto userDto);

	/**
	 * Change user profile
	 * @param userDto
	 * @throws DaoException
	 */
	void changeProfile(UserDto userDto) throws DaoException;

}
